<%@ page language="java" contentType="text/html; charset=utf-8"%>
<!doctype html >
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>${projectName} - 登录</title>
		<script type="text/javascript">
			if(typeof top.checkFrame == "function"){
				top.location.href = "${ctxPath}/admin/login.htm";
			}
			var basePath = "${ctxPath}";
		</script>
		<link rel="shortcut icon" href="${ctxPath}/favicon.ico" /> 
		<link rel="stylesheet" type="text/css" href="${ctxPath}/static/base/base.css?v=${sysVersion}" />
		<link rel="stylesheet" type="text/css" href="${ctxPath}/static/base/lib/loadmask/jquery.loadmask.css?v=${sysVersion}" />
		<link rel="stylesheet" type="text/css" href="${ctxPath}/static/admin/login/login.css?v=${sysVersion}" />
		<script type="text/javascript" src="${ctxPath}/static/base/lib/jquery-1.12.0.min.js?v=${sysVersion}"></script>
		<script type="text/javascript" src="${ctxPath}/static/base/lib/loadmask/jquery.loadmask.js?v=${sysVersion}" ></script>
		<script type="text/javascript" src="${ctxPath}/static/base/lib/artdialog/jquery.artDialog.source.js?v=${sysVersion}&skin=default"></script>
		<script type="text/javascript" src="${ctxPath}/static/base/lib/artdialog/plugins/iframeTools.source.js?v=${sysVersion}"></script>
		<script type="text/javascript" src="${ctxPath}/static/admin/base/common.js?t=${sysVersion}"></script>
		<style>
			html{
				background:url("${ctxPath}/static/admin/login/images/loginbg.png");
				width:100%;
				height:100%;
				overflow:hidden;
			}
		</style>
	</head>
	<body>
		<form id="loginForm" action="${ctxPath}/doLogin.htm" method="post">
			<div class="login-mbox">
				<div class="login-tt"><%-- <img src="${ctxPath}/static/admin/login/images/logo.jpg" class="vm mr10" width="50px" height="40px" /> --%>
					<label class="vm">${projectName}</label>
				</div>
				<div class="zp-box" style="margin-top:25px;">
					<div class="fl zh-ico"></div>
					<div class="fl pr">
						<input id="j_username" name="p1" placeholder="用户名" onkeypress="if(event.keyCode == 13){login();}" autocomplete="off" type="text" class="imb-text pp-input">
					</div>
					<div class="cb"></div>
				</div>
				<div class="zp-box" style="margin-top:15px;">
					<div class="fl pwd-ico"></div>
					<div class="fl pr">
						<input id="j_password" name="p2" placeholder="密码" onkeypress="if(event.keyCode == 13){login();}" autocomplete="off" type="password" class="imb-text pp-input">
					</div>
					<div class="cb"></div>
				</div>
				
				<div style="margin-top:25px;">
					<div class="fr">
						<a href="javascript:void(0);" onclick="javascript:login();return false;" class="login-btn"></a>
					</div>
					<div class="cb"></div>
				</div>
				<div class="login-error-tip"></div>
				<div class="cp-ntt f14">${projectCompany}</div>
			</div>
		</form>
	</body>
	<script type="text/javascript" src="${ctxPath}/static/admin/login/login.js?v=${sysVersion}"></script>
</html>